<template>
    <router-view></router-view>
    <van-tabbar v-model="active" route="true">
    <van-tabbar-item icon="records" to="/page/day">今日</van-tabbar-item>
    <van-tabbar-item icon="idcard" to="/page/all">全部</van-tabbar-item>
    <van-tabbar-item icon="bulb-o" to="/page/intent">专注</van-tabbar-item>
    <van-tabbar-item icon="smile-o" to="/page/mine">我的</van-tabbar-item>
  </van-tabbar>

</template>

<script setup>
import {ref} from 'vue'

const active = ref(0)
</script>

<style lang="less" scoped>

</style>